<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="styles/css/global.css">
<SCRIPT type="text/javascript" src="commons/dojo.js"></SCRIPT>
<script type="text/javascript">
	dojo.require("dojo.widget.validate");
	 function submitCheck(){
	 	 if (lessonTypeForm.all("lessonType.name").value.length<1){
			      alert('“课程类别”不能为空！');
			      return false;
		}
	 	lessonTypeForm.submit();
	 	
	 }
</script>
</head>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td class="localTdBg">当前位置： 课程管理 -- 更新课程分类</td>
	</tr>

</table>
<body>
<html:form method="post"
	action="lessonType.do?method=doUpdateLessonType">
	<table width="98%" border="0" align="center" cellpadding="1"
		cellspacing="1" id="addFormTable">
		<tr>
			<td width="25%" id="addFormTableL">课程类别</td>
			<td width="75%" id="addFormTableR"><input name="lessonType.name"
				type="text" value="${lessonType.name }"></td>
		</tr>
		<input name="lessonType.ltid" type="hidden"
			value="${lessonType.ltid }">
		<tr>
			<td width="25%">&nbsp;</td>
			<td width="75%"><input name="Submit" type="button"
				class="formSubmit" value="提交" onclick="javascript:submitCheck()">
			<input name="return" type="button" class="formSubmit" value="返回"
				onclick="javascript:history.go(-1)"></td>
		</tr>
	</table>
</html:form>
</body>
</html>